package com.weiyi.admin.models.ums.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.weiyi.admin.domain.AdminUserDetails;
import com.weiyi.admin.models.ums.model.UmsAdmin;
import com.weiyi.admin.models.ums.model.UmsResource;

import java.util.List;

/**
 * <p>
 * 后台用户表 服务类
 * </p>
 *
 * @author PZC
 * @since 2022-10-12
 */
public interface UmsAdminService extends IService<UmsAdmin> {
    List<UmsResource> getResourceList(Long adminId);

    public AdminUserDetails loadUserByUserName(String name);

    UmsAdmin getAdminByUsername(String username);
}
